import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/admin/login',
    method: 'post',
    data
  })
}

export function getAuthInfo() {
	return request({
		url: '/admin/auth/info',
		method: 'get'
	})
}

export function getMenu() {
  return request({
    url: '/admin/auth/menu',
    method: 'get'
  })
}


